package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnow;
import com.learn.multDataSource.model.mysql.TKnowExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowMapper{
    int countByExample(TKnowExample example);

    int deleteByExample(TKnowExample example);

    int deleteByPrimaryKey(Long knowId);

    int insert(TKnow record);

    int insertSelective(TKnow record);

    List<TKnow> selectByExampleWithBLOBs(TKnowExample example);

    List<TKnow> selectByExample(TKnowExample example);

    TKnow selectByPrimaryKey(Long knowId);

    int updateByExampleSelective(@Param("record") TKnow record, @Param("example") TKnowExample example);

    int updateByExampleWithBLOBs(@Param("record") TKnow record, @Param("example") TKnowExample example);

    int updateByExample(@Param("record") TKnow record, @Param("example") TKnowExample example);

    int updateByPrimaryKeySelective(TKnow record);

    int updateByPrimaryKeyWithBLOBs(TKnow record);

    int updateByPrimaryKey(TKnow record);
}